package cn.com.miaoto.business.service;

import cn.com.miaoto.base.common.BaseService;
import cn.com.miaoto.business.model.Visit;
import cn.com.miaoto.business.mysql.VisitMapper;
import cn.com.miaoto.business.vo.VisitInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by guo.chen on 2018/9/17.
 */
@Service
public class VisitService extends BaseService<Visit> {

    @Resource
    private VisitMapper visitMapper;

    public List<VisitInfo> selectVisitList(Map params){
        return this.visitMapper.selectVisitInfo(params);
    }

    public List<VisitInfo> selectVisitForTime(Map params){
        return this.visitMapper.selectVisitForTime(params);
    }
}
